Github Ssh Keys

When using github one of the most recommend ways to get in sync with your repo is by using ssh keys. If you don’t use it check the following article from github docs where they explain in detail how to do the setup

On your Profile you can manage your SSH and GPG keys.

But take into account the following if you have more than one account the ssh-keys are unique on the system.

So if you have for example:

  1. coporate account ruiramosff
  2. personal account rramos

You need to have distinct ssh-keys per profile.

I would recommend for this cases to have distinct ssh keys and to a proper setup on your repo configurations adding for example

[user]
name = Rui Ramos
email = rui.ms.ramos@gmail.com

You can also do this globaly on your ~./gitconfig but if you are going to work on the same machine but want to use different profiles, pay attention to have the git configuration adapted to it.

Cheers,
RR